package com.ssm.tsj.service.impl;

import com.ssm.tsj.mapper.TMemberXiaotanMapper;
import com.ssm.tsj.service.InterposeService;
import com.ssm.tsj.vo.InterposeVo;
import com.ssm.tsj.vo.MemberMedicVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class InterposeServiceImpl implements InterposeService {

    @Resource
    private TMemberXiaotanMapper tMemberXiaotanMapper;


    public List<InterposeVo> interposeQuery(String name) throws Exception {
        return this.tMemberXiaotanMapper.interposeQuery(name);
    }

    public MemberMedicVo membermedicVoQuery(int id) throws Exception {
        return this.tMemberXiaotanMapper.membermedicVoQuery(id);
    }
}
